package cn.tedu.order.admin.controller;

import cn.tedu.item.api.service.ItemFeignService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Kiven
 */
@RestController
@RequestMapping("/order/api")
public class OrderController {

    @DubboReference
    public ItemFeignService itemFeignService;

    @RequestMapping("/hello")
    public String sayHi(){
       return itemFeignService.sayHi();
    }
}
